package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 接运信息表Entity
 *
 * @author generator
 * @date 2020-06-16 10:19
 */
@MyTable(value = "RecInfoEntity", name = "rec_info", comment = "接运信息表")
public class RecInfoEntity extends BaseEntity {
    /**
     * 接运二维码
     */
    @MyColumn(value = "recCode", name = "rec_code", comment = "接运二维码", required = true)
    private String recCode;

    /**
     * 联系人姓名
     */
    @MyColumn(value = "contact", name = "contact", comment = "联系人姓名")
    private String contact;

    /**
     * 联系电话
     */
    @MyColumn(value = "contactPhone", name = "contact_phone", comment = "联系电话", required = true)
    private String contactPhone;

    /**
     * 联系人类型
     */
    @MyColumn(value = "contactType", name = "contact_type", comment = "联系人类型", required = true)
    private Integer contactType;

    /**
     * 逝者姓名
     */
    @MyColumn(value = "deadName", name = "dead_name", comment = "逝者姓名", required = true)
    private String deadName;

    /**
     * 死亡原因
     */
    @MyColumn(value = "deathCause", name = "death_cause", comment = "死亡原因")
    private String deathCause;

    /**
     * 联系人与逝者关系code
     */
    @MyColumn(value = "relationCode", name = "relation_code", comment = "联系人与逝者关系code", required = true)
    private Integer relationCode;

    /**
     * 联系人与逝者关系
     */
    @MyColumn(value = "relation", name = "relation", comment = "联系人与逝者关系")
    private String relation;

    /**
     * 车辆类型编码
     */
    @MyColumn(value = "carTypeCode", name = "car_type_code", comment = "车辆类型编码", required = true)
    private Integer carTypeCode;

    /**
     * 车辆类型
     */
    @MyColumn(value = "carType", name = "car_type", comment = "车辆类型")
    private String carType;

    /**
     * 车辆用途编码
     */
    @MyColumn(value = "purposeCode", name = "purpose_code", comment = "车辆用途编码")
    private Integer purposeCode;

    /**
     * 车辆用途
     */
    @MyColumn(value = "purpose", name = "purpose", comment = "车辆用途")
    private String purpose;

    /**
     * 预约到达时间
     */
    @MyColumn(value = "arrivalTime", name = "arrival_time", comment = "预约到达时间", required = true)
    private Date arrivalTime;

    /**
     * 接运费
     */
    @MyColumn(value = "recCharge", name = "rec_charge", comment = "接运费", required = true)
    private BigDecimal recCharge;

    /**
     * 遗体到馆存放
     */
    @MyColumn(value = "bodyDepositCode", name = "body_deposit_code", comment = "遗体到馆存放", required = true)
    private Integer bodyDepositCode;

    /**
     * 遗体到馆存放
     */
    @MyColumn(value = "bodyDeposit", name = "body_deposit", comment = "遗体到馆存放", required = true)
    private String bodyDeposit;

    /**
     * 接运地址
     */
    @MyColumn(value = "address", name = "address", comment = "接运地址")
    private String address;

    /**
     * 来源编码
     */
    @MyColumn(value = "sourceCode", name = "sourceCode", comment = "来源编码", required = true)
    private Integer sourceCode;

    /**
     * 来源
     */
    @MyColumn(value = "source", name = "source", comment = "来源", required = true)
    private String source;

    /**
     * 任务状态编码
     */
    @MyColumn(value = "taskStateCode", name = "task_state_code", comment = "任务状态编码", required = true)
    private Integer taskStateCode;

    /**
     * 任务状态
     */
    @MyColumn(value = "taskState", name = "task_state", comment = "任务状态", required = true)
    private String taskState;

    /**
     * 费用说明
     */
    @MyColumn(value = "chargeRemark", name = "chargeRemark", comment = "费用说明", required = true)
    private String chargeRemark;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;

    /**
     * 微信appId
     */
    @MyColumn(value = "appId", name = "appId", comment = "微信appId")
    private String appId;


    public String getRecCode() {
        return recCode;
    }

    public RecInfoEntity setRecCode(String recCode) {
        this.recCode = recCode;
        return this;
    }

    public String getContact() {
        return contact;
    }

    public RecInfoEntity setContact(String contact) {
        this.contact = contact;
        return this;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public RecInfoEntity setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
        return this;
    }

    public Integer getContactType() {
        return contactType;
    }

    public RecInfoEntity setContactType(Integer contactType) {
        this.contactType = contactType;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public RecInfoEntity setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public String getDeathCause() {
        return deathCause;
    }

    public RecInfoEntity setDeathCause(String deathCause) {
        this.deathCause = deathCause;
        return this;
    }

    public Integer getRelationCode() {
        return relationCode;
    }

    public RecInfoEntity setRelationCode(Integer relationCode) {
        this.relationCode = relationCode;
        return this;
    }

    public String getRelation() {
        return relation;
    }

    public RecInfoEntity setRelation(String relation) {
        this.relation = relation;
        return this;
    }

    public Integer getCarTypeCode() {
        return carTypeCode;
    }

    public RecInfoEntity setCarTypeCode(Integer carTypeCode) {
        this.carTypeCode = carTypeCode;
        return this;
    }

    public String getCarType() {
        return carType;
    }

    public RecInfoEntity setCarType(String carType) {
        this.carType = carType;
        return this;
    }

    public Integer getPurposeCode() {
        return purposeCode;
    }

    public RecInfoEntity setPurposeCode(Integer purposeCode) {
        this.purposeCode = purposeCode;
        return this;
    }

    public String getPurpose() {
        return purpose;
    }

    public RecInfoEntity setPurpose(String purpose) {
        this.purpose = purpose;
        return this;
    }

    public Date getArrivalTime() {
        return arrivalTime;
    }

    public RecInfoEntity setArrivalTime(Date arrivalTime) {
        this.arrivalTime = arrivalTime;
        return this;
    }

    public BigDecimal getRecCharge() {
        return recCharge;
    }

    public RecInfoEntity setRecCharge(BigDecimal recCharge) {
        this.recCharge = recCharge;
        return this;
    }

    public Integer getBodyDepositCode() {
        return bodyDepositCode;
    }

    public RecInfoEntity setBodyDepositCode(Integer bodyDepositCode) {
        this.bodyDepositCode = bodyDepositCode;
        return this;
    }

    public String getBodyDeposit() {
        return bodyDeposit;
    }

    public RecInfoEntity setBodyDeposit(String bodyDeposit) {
        this.bodyDeposit = bodyDeposit;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public RecInfoEntity setAddress(String address) {
        this.address = address;
        return this;
    }

    public Integer getSourceCode() {
        return sourceCode;
    }

    public RecInfoEntity setSourceCode(Integer sourceCode) {
        this.sourceCode = sourceCode;
        return this;
    }

    public String getSource() {
        return source;
    }

    public RecInfoEntity setSource(String source) {
        this.source = source;
        return this;
    }

    public Integer getTaskStateCode() {
        return taskStateCode;
    }

    public RecInfoEntity setTaskStateCode(Integer taskStateCode) {
        this.taskStateCode = taskStateCode;
        return this;
    }

    public String getTaskState() {
        return taskState;
    }

    public RecInfoEntity setTaskState(String taskState) {
        this.taskState = taskState;
        return this;
    }

    public String getChargeRemark() {
        return chargeRemark;
    }

    public RecInfoEntity setChargeRemark(String chargeRemark) {
        this.chargeRemark = chargeRemark;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public RecInfoEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public String getAppId() {
        return appId;
    }

    public RecInfoEntity setAppId(String appId) {
        this.appId = appId;
        return this;
    }
}